package cn.edu.nju.askme.dao;

import java.util.List;

import cn.edu.nju.askme.model.Option;

public interface IOptionDAO {

	void save(Option transientInstance);

	void delete(Option persistentInstance);

	Option findById(java.lang.Integer id);

	List<Option> findByExample(Option instance);

	List findByProperty(String propertyName, Object value);

	List<Option> findByLabel(Object label);

	List<Option> findByContent(Object content);

	List findAll();

	Option merge(Option detachedInstance);

	void attachDirty(Option instance);

	void attachClean(Option instance);

}